package com.cskaoyan.service.coupon.wx;

import com.cskaoyan.bean.Coupon;
import com.cskaoyan.bean.coupon.ExchangeCouponVO;
import com.cskaoyan.bean.coupon.ReceiveCouponVO;
import com.cskaoyan.bean.coupon.wx.ListData;

import java.util.List;

public interface CouponService2 {
    ListData<Coupon> myCoupons(Integer userId, String status, String page, String size);
    List<Coupon> myCoupons(Integer userId, int status);

    ExchangeCouponVO exchange(Integer userId, String code);

    ReceiveCouponVO receive(Integer userId, Integer couponId);

    ListData<Coupon> list(Integer page, Integer size);

    List<Coupon> selectList(Integer userId, Integer cartId, Integer grouponRulesId);


}
